package com.bxs;

import com.bxs.command.CommandManager;
import com.bxs.global.CommandMsg;
import lombok.extern.slf4j.Slf4j;
import org.pcap4j.core.NotOpenException;
import org.pcap4j.core.PcapNativeException;
//import org.springframework.stereotype.Component;

import java.io.IOException;

@Slf4j
public class IdsRunner {
    public static void run() throws IOException, PcapNativeException, InterruptedException, NotOpenException {
        // application entry
        System.out.println("ids running...");
        // ids开启
        IdsManager instance = IdsManager.getInstance();
        instance.start();
    }
}
